using UnityEditor;

namespace LS.UnityExtensions.Editor
{
    public abstract class ProjectSettingInspector<T> : InspectorBase where T : ProjectSettingScriptableObject<T>
    {
        protected override bool DrawCustomInspector => false;

        public override void OnPropertyValueChanged()
        {
            ((T)target).Save();
        }
    }
}